<?php

namespace app\assets;

use yii\web\AssetBundle;

class AdminHomeAsset extends AssetBundle
{
    public $basePath = '@webroot';
    public $baseUrl = '@web';
    public function registerAssetFiles($view){
        $this->css = [
            'admin/index/css/amazeui.min.css',
            'admin/index/css/amazeui.datatables.min.css',
            'admin/index/css/app.css',
        ];
        $this->js = [
//            'admin/index/js/jquery.min.js',
//            'admin/index/js/echarts.min.js',
//            'admin/index/js/theme.js',
            'admin/index/js/amazeui.min.js',
            'admin/index/js/amazeui.datatables.min.js',
            'admin/index/js/dataTables.responsive.min.js',
            'admin/index/js/app.js',
        ];
        parent::registerAssetFiles($view);
    }
    //按需加载js
}
